import { server } from "@/utils/request";

export function getTokenLocal(data) {
  return server({
    url: "/action?method=adminlogin",
    method: "post",
    data,
  });
}

export function setNewAccount(data) {
  return server({
    url: "/action?method=reg",
    method: "post",
    data,
  });
}
